<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8"/>
        <title>对象属性变化监测</title></title>
        <script type="text/javascript" src="../js/vue.js"></script>
        
    </head>
    <body>
        <div id="root">
            {{school.name}} - {{school.address}}
        </div>
    </body>
    <script>
        const vm = new Vue({
            el: "#root",
            data:{
                school:{
                    name:"hangzhou",
                    address:10
                }
            }
        })
    </script>
</html> 